<?php
// +----------------------------------------------------------------------
// | Scallion 
// +----------------------------------------------------------------------
// | Copyright (c) 2018 http://www.scallion.top All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Liuxg < 420695648@qq.com>
// +----------------------------------------------------------------------
namespace app\admin\controller;

use cmf\controller\AdminBaseController;
use think\Db;

class LogController extends AdminBaseController
{

    /**
     * 日志管理
     */
    public function index()
    {
		$data = db('data_log')->order('id desc')->paginate(10);
		$this->assign('page', $data->render());
		$this->assign("data", $data);
		// dump($data);
        return $this->fetch();
    }
	
}
